const form = document.querySelector('form')
const booknameInput = document.querySelector('input[name="bookname"]');
const authorInput = document.querySelector('input[name="author"]');
const publisherInput = document.querySelector('input[name="publisher"]');

form.addEventListener('submit', function () {
    const data = serialize(form表单, { hash: true })
    console.log(data);
})

